package tesis.controller.common;

import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller("publicController")
public class PublicController {

    private static final Logger LOG = LoggerFactory.getLogger(PublicController.class);


    @RequestMapping(value = "/inicio")
    public String inicio(HttpServletRequest request) {
        LOG.info("procesando GET para RequestMapping /inicio");
        //request.getSession().setAttribute("menuList", getMenuList());
        return "inicio";
    }

   
    @RequestMapping(value = "/public/login")
    public String login() {
        LOG.info("procesando GET para RequestMapping /public/login");
        return "public/login";
    }

   
}    
